package com.micangcaihang.micang.mvp.task.contract;


import com.micangcaihang.common.base.mvp.BaseModel;
import com.micangcaihang.common.base.mvp.BasePresenter;
import com.micangcaihang.common.base.mvp.IBaseView;
import com.micangcaihang.common.http.ApiResult;
import com.micangcaihang.micang.entity.CommentaryExamineEntity;

import io.reactivex.Observable;

/**
 * <pre>
 *     author : Fandy
 *     e-mail : fandayongfly@gmail.com
 *     time   : 2017/7/24
 *     update : 2017/7/24
 *     desc   : 调评资料审查契约
 *     version: 1.0
 * </pre>
 */
public interface ExamineCommentaryContract {
    interface View extends IBaseView {
        void returnCommentaryExamine(CommentaryExamineEntity entity);
    }

    interface Model extends BaseModel {
        /**
         * 申请终止
         *
         * @return
         */
        Observable<ApiResult<CommentaryExamineEntity>> getExamineCommentaryData(String id);
    }

    abstract class Presenter extends BasePresenter<View> {
        /**
         * 申请终止
         *
         * @return
         */
        public abstract void getCommentaryExamineData(String id);
    }
}
